<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <?php include_http_metas() ?>
    <?php include_metas() ?>
    <?php include_title() ?>
    <link rel="shortcut icon" href="/favicon.ico" />
    <?php include_stylesheets() ?>
    <?php use_javascript('jquery-1.4.2.min.js', 'first'); ?>
    <?php use_javascript('jquery.form.js'); ?>
    <?php include_javascripts() ?>
     <script>
            $(document).ready(function(){
                $('#sf_admin_bar').hide();
                $(".example8").colorbox({width:"50%", inline:true, href:".sf_admin_filter"});
            });
    </script>
  </head>
  <body>
  <div id="menu">
      <ul class="menu menum">
          <li class="menui"><?php echo link_to('Users','@homepage',array('class'=>'menui')) ?></li>
          <li class="menui"><?php echo link_to('Users Group','@user_group',array('class'=>'menui')) ?></li>
          <li class="menui"><?php echo link_to('User Permission','@user_permission',array('class'=>'menui')) ?></li>
          <li class="menui"><?php echo link_to('Items','@item',array('class'=>'menui')) ?></li>
          <li class="menui"><?php echo link_to('Supplier','@supplier',array('class'=>'menui')) ?></li>
      </ul> 
  </div>
    <?php if (sfContext::getInstance()->getActionName() == 'index') : ?>
        <a class="example8" href="#" style="position: relative; left: 1000px; top: 25px;">Filtruj</a>
        <a style="position: relative; left: 1050px; top: 25px;" href="<?php echo $this->getModuleName() ?>/filter/action?_reset">Reset</a>
    <?php endif; ?>
    <?php echo $sf_content ?>
  </body>
</html>
